package eva.savant.business.administrador.service;

import javax.persistence.*;

@NamedQueries({

@NamedQuery(name  = QSAdministrador.isUser,
            query = "select m.id " +
                    "from eva.savant.businessobject.ad.Usuario m " +
                    "where m.username=?1 and m.password=?2 and m.sociedadId=?3 and m.operacionId > 0"),

@NamedQuery(name  = QSAdministrador.userUsername,
			      query = "select m " +
					          "from eva.savant.businessobject.ad.Usuario m " +
					          "where m.username=?1 and m.sociedadId=?2 and m.operacionId > 0")
})

@MappedSuperclass
public class QSAdministrador {

    public static final String isUser= "isUser";

	  public static final String userUsername= "userUsername";
}
